package com.hxminer.hxwebs.repository;

import com.hxminer.hxwebs.model.User;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Author YRG
 * Created by on 2018/5/9.
 * Describe
 */
public interface LoginRepository extends JpaRepository<User, Integer> {


    //    @Query(" from User u where u.username=:username ")
//    List<User> getLoginUser(Integer age);

//    User findByUsernameAndPassword(String username, String password);

}
